package com.wk.mui_demo.mapper;


import com.wk.mui_demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface UserMapper {

    @Select( "select id , username , password from user where username = #{username}" )
    User getUserByUsername(@Param("username") String username);

}